﻿using Prism.Regions;
using System;
using System.Collections.Generic;
using System.ComponentModel.Design.Serialization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManYanPrism.Shell.ViewModels
{
    internal class DeviceListViewModel : INavigationAware
    {
        private IRegionNavigationJournal _regionNavigationJournal;
        public bool IsNavigationTarget(NavigationContext navigationContext)
        {
            return true;
        }

        public void OnNavigatedFrom(NavigationContext navigationContext)
        {
            throw new NotImplementedException();
        }

        public void OnNavigatedTo(NavigationContext navigationContext)
        {
            _regionNavigationJournal = navigationContext.NavigationService.Journal;
        }
    }
}
